package com.example.football.pojo;

public class Result<T> {
    private String msg;
    private boolean success;
    private T detail;
    //省略getter和setter方法

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }
    public T getDetail() {
        return detail;
    }

    public void setDetail(T detail) {
        this.detail = detail;
    }

    public Result(String msg,Boolean success,T detail){
        this.msg = msg;
        this.success = success;
        this.detail = detail;
    }
    public Result(){

    }
}
